home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / prowintc.zip / TESTPRO.C < prev    next >
Text File  |  1988-10-03  |  840b  |  35 lines

  1. #include <prowindc.h>
  2.  
  3. /*
  4.     Select the "Project" Menu and enter "TESTPRO.PRJ" as the project name.
  5. */
  6.  
  7. void myscreen()
  8. {
  9.     popwindow(3, 3, 17, 76, attr(15, 4), 1, 1, 1);
  10.     titlewindow(2, "[ ProWindows *LITE* Test Program ]");
  11.     cwcprint(2, attr(11, 4), "The 'ProWindows' Window Logic System");
  12.         cwcprint(14, attr(14, 4), "The Best 'Pop Up' Window Manager in the World");
  13.  
  14.         popwindow(22, 3, 3, 76, attr(15, 1), 2, 0, 0);
  15.     cwcprint(1, attr(30, 1), "One Moment Please...");
  16.  
  17.     /*
  18.         This is the end of the user screen.
  19.         copyright(); is invoked automaticly, next
  20.     */
  21. }
  22.  
  23. void main()
  24. {
  25.     clrscr();
  26.  
  27.     initpro(7, 19, myscreen, 0);
  28.  
  29.     removewindow();            /* Remove Copyright (automatic 3 second delay) */
  30.  
  31.     removewindow();            /* Remove "One Moment Please...." */
  32.  
  33.     removewindow();            /* Remove Main Window */
  34. }
  35.